package com.design.mediator;

/**
 * @author leali
 * @title: ListBox
 * @projectName design
 * @description: 列表框类：具体同事类
 * @date 2022/1/3 19:54
 */
public class ListBox extends Component{
    @Override
    public void update() {
        System.out.println("列表框增加一项：张无忌。");
    }
    public void select(){
        System.out.println("列表框选中项：小龙女。");
    }
}
